using System;
using System.Runtime.Serialization;

[assembly: CLSCompliant(true)]
namespace Utility.ExceptionHandling
{
    [Serializable]
    public abstract class BaseException : Exception
    {
        protected BaseException() { }
        protected BaseException(string message) 
            : base(message) { }

        protected BaseException(string message, Exception innerException)
            : base(message, innerException) { }

        protected BaseException(int message, Exception innerException)
            : base(Convert.ToString(message, System.Globalization.CultureInfo.CurrentCulture), innerException) { }

        protected BaseException(SerializationInfo info,
         StreamingContext context)
            : base(info, context) { }
    }
}
